package org.leon;

import org.leon.pojo.Configuration;
import org.leon.pojo.MapperStatement;

import java.util.List;

/**
 * Created by leon.L on 2019/12/25.
 * Desc :
 */
public interface Executor {

    <E> List<E> query(Configuration configuration, MapperStatement mapperStatement, Object... params) throws Exception;

    int update(Configuration configuration, MapperStatement mapperStatement, Object param) throws Exception;
}
